package com.wyx.service.impl;

import com.wyx.entity.Menu;
import com.wyx.mapper.MenuMapper;
import com.wyx.service.MenuService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 * 菜单管理 服务实现类
 * </p>
 *
 * @author wyx
 * @since 2022-03-17
 */
@Service
public class MenuServiceImpl extends ServiceImpl<MenuMapper, Menu> implements MenuService {

    @Override
    public List<Menu> selectAll(int uid) {
        return baseMapper.selectAll(uid);
    }
}
